package com.github.ghsea.kafka;

import java.util.List;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.clients.producer.ProducerRecord;

/**
 * @author guhai
 * @since 2021/4/27 22:21
 */
@Setter
@Getter
@NoArgsConstructor
public class KafkaContextBean {

    private Producer<String, String> producer;

    private boolean  track;

    private List<ProducerRecord> records;
}
